Skip to content

Conversation

duanebester
Copy link

Automatically appends the null terminator to strings.

(def buffer (buf/allocate 6))
(buf/write! buffer "hello" buf/cstring)
(buf/read buffer buf/cstring)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant